From: Alexander Mikhaylenko Date: Sun, 7 Feb 2021 20:06:02 +0000 (+0500) Subject: workspacesView: Enable long swipes X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~616^2^2~436 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=2b9cf73309d7c3fc3783c0e23e652b5bf0f4a005;p=gnome-shell.git workspacesView: Enable long swipes Part-of: --- diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js index 025fafe06..56b5e55ed 100644 --- a/js/ui/workspacesView.js +++ b/js/ui/workspacesView.js @@ -498,6 +498,7 @@ class WorkspacesDisplay extends St.Widget { this._swipeTracker = new SwipeTracker.SwipeTracker( Main.layoutManager.overviewGroup, Shell.ActionMode.OVERVIEW); + this._swipeTracker.allowLongSwipes = true; this._swipeTracker.connect('begin', this._switchWorkspaceBegin.bind(this)); this._swipeTracker.connect('update', this._switchWorkspaceUpdate.bind(this)); this._swipeTracker.connect('end', this._switchWorkspaceEnd.bind(this));